package com.xjtu.mybatisplus.mapper;

import com.xjtu.mybatisplus.model.domain.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lsong
 * @since 2023-12-27
 */
public interface RoleMapper extends BaseMapper<Role> {

    @Delete("delete from intensification.user_role where user_id = #{id}")
    void deleteUserRoleById(Long id);
}
